package com.linksfield.topup.entity.interfaces.ordermanage.search.response;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;


/**
 * 套餐服务计划：搜索时整个返回体要包含两个部分：计算的内容+套餐服务计划列表
 * request：前端 RequestServicePlanSearch
 * response：后端 ResponseSearch （ResponseCalculateCount+ResponseServicePlan）
 * <p>
 * <p>
 * <p>
 * 这边虽然给前端响应了但是前端并没有使用，订单总数每次都是用的分页信息中的rowCount,每点击一次都访问了后端
 *
 * @author: lm
 * @date: 2019-11-26 15:40
 */

@Data
public class ResponseOrderCalculateCount implements Serializable {
    private static final long serialVersionUID = -2344149800078404770L;

    @ApiModelProperty(value = "订单总数", example = "100", dataType = "Integer")
    private Integer orderTotalCount;

    @ApiModelProperty(value = "未启用订单条数", example = "20", dataType = "Integer")
    private Integer notBeenUsedCount;

    @ApiModelProperty(value = "正在使用的订单条数", example = "80", dataType = "Integer")
    private Integer inUseCount;

    @ApiModelProperty(value = "已取消的订单条数", example = "80", dataType = "Integer")
    private Integer cancelledCount;

    @ApiModelProperty(value = "已完成支付的订单条数", example = "80", dataType = "Integer")
    private Integer successPayCount;

    @ApiModelProperty(value = "已退款的订单条数", example = "80", dataType = "Integer")
    private Integer refundCount;

    @ApiModelProperty(value = "单次购买订单条数", example = "80", dataType = "Integer")
    private Integer singlePayCount;

    @ApiModelProperty(value = "自动订阅订单条数", example = "80", dataType = "Integer")
    private Integer subscriptionCount;

}
